package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Brand;
import com.itheima.goods.pojo.Category;
import entity.Result;

public interface CategoryService extends IService<Category> {

    Result<Object> findPage(Integer page, Integer size);

    Result<Object> findById(Integer id);

    Result<Object> updateCategoryById(Category category);

    Result<Object> deleteCategoryById(Integer id);

    Result<Object> addCategory(Category category);
}
